package com.ssy.lingxi.purchase.repository.bidding;

import com.ssy.lingxi.purchase.entity.bidding.InteriorBiddingLog;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*采购竞价
*/
@Repository
public interface InteriorBiddingLogRepository extends JpaRepository<InteriorBiddingLog, Long> {

    List<InteriorBiddingLog> findAllByBiddingId(Long biddingId, Sort sort);

    List<InteriorBiddingLog> findAllByBiddingId(Long biddingId);

}
